using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.ModelConfiguration.Configuration;
using ESoft.Core.DAO;
using ESoft.Core.Model;

namespace ESoft.Domain.Entity
{
    /// <summary>
    /// Package
    /// </summary>    
	[Table("package")]
    public partial class PackageEntity : BaseFakeModel<String>
    {		    
        /// <summary>
        /// 
        /// </summary>
		[Column("group_name")]
        public string GroupName { get; set; }
    
        /// <summary>
        /// 店铺ID
        /// </summary>
		[Column("shop_id")]
        public string ShopId { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
		[Column("create_time")]
        public DateTime? CreateTime { get; set; }
    }

	public class PackageEntityRegstHelper : IEntityMapper
    {
        public void RegistTo(ConfigurationRegistrar configurations)
        {
            configurations.Add<PackageEntity>(new EntityTypeConfiguration<PackageEntity>());
        }
    }
}

